﻿using System.ComponentModel;

namespace EcoSystem
{
    /// <summary>
    /// 规则匹配方式
    /// </summary>
    public enum RoleMatchType
    {
        /// <summary>
        /// 等于
        /// </summary>
        [Description("等于")]
        Equal = 1,

        /// <summary>
        /// 不等于
        /// </summary>
        [Description("不等于")]
        NotEqual = 2,
        /// <summary>
        /// 包含
        /// </summary>
        [Description("包含")]
        Contains = 3,
        /// <summary>
        /// 大于
        /// </summary>
        [Description("大于")]
        GreaterThan = 4,
        /// <summary>
        /// 小于
        /// </summary>
        [Description("小于")]
        LessThan = 5,
        /// <summary>
        /// 大于等于
        /// </summary>
        [Description("大于等于")]
        EqualAndGreaterThan = 6,
        /// <summary>
        /// 小于等于
        /// </summary>
        [Description("小于等于")]
        EqualAndLessThan = 7
    }
}
